package packagerole;

import java.util.List;

import packagerolexml.Vip;

public class User {

	

	public User(long id, String name, String tel, String address) {
		super();
		this.id = id;
		this.name = name;
		this.tel = tel;
		this.address = address;
	}
	public User(long id, String name, String username, String password, String tel, String address, Vip vip,
			Account account, List<Transaction> transaction, List<Order> order) {
		super();
		this.id = id;
		this.name = name;
		this.username = username;
		this.password = password;
		this.tel = tel;
		this.address = address;
		this.vip = vip;
		this.account = account;
		this.transaction = transaction;
		this.order = order;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Vip getVip() {
		return vip;
	}
	public void setVip(Vip vip) {
		this.vip = vip;
	}
	public Account getAccount() {
		return account;
	}
	public void setAccount(Account account) {
		this.account = account;
	}
	public List<Transaction> getTransaction() {
		return transaction;
	}
	public void setTransaction(List<Transaction> transaction) {
		this.transaction = transaction;
	}
	public List<Order> getOrder() {
		return order;
	}
	public void setOrder(List<Order> order) {
		this.order = order;
	}
	public User(String name) {
		super();
		this.name = name;
	}

	private long id;
	private String name;
	private String username;
	private String password;
	private String tel;
	private String address;

	private Vip vip;

	private Account account;
	private List<Transaction> transaction;
	private List<Order> order;

}